<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-22 11:06:08
 * @LastEditTime: 2020-02-24 10:09:09
 * @LastEditors: Please set LastEditors
 -->
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/vant.css">
    <link rel="stylesheet" type="text/css" href="../css/base.css" />
    <link rel="stylesheet" type="text/css" href="../css/local.css" />
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript" src="../script/layer/mobile/layer.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
    <script src="../script/vant.min.js"></script>
    <script type="text/javascript" src="../script/fastclick.js"></script>
    <script type="text/javascript" src="../script/base.js"></script>
    <style type="text/css">
        /* .content{
            background-color: #fff!important;
        } */
        .d{
            background: #efefef;
            padding: 15px;
            color: #9e9e9e;
        }
        .van-field__label, .van-cell__title{
            max-width: 60px;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="init-full">
            <van-nav-bar class="head" title="会员权益" left-arrow @click-left="onClickLeft">
            </van-nav-bar>
            <div class="body-no-bottom">
                <div class="content">
                    <div class="d">当前会员等级：{{userInfo.gradeName}}</div>
                    <van-cell>
                        <div slot="title"><img style="width: 20px;" src="../image/vip.png" /></div>
                        <div>您是尊贵的尊享会员,当前可透支额度为<span style="color: #ca7f1f;font-size: 16px;">￥{{userInfo.Quota}}</span></div>
                    </van-cell>
                </div>
                <van-loading v-if="showLoading" />
            </div>
        </div>
    </div>
</body>

<script type="text/javascript">
    var vm;
    apiready = function () {
        //$('.init-full').show();

        vm = new Vue({
            el: '#app',
            data: {
                showLoading: false,
                ifConfirm: false,
                userInfo:FLD.getUserInfo()
            },
            created: function () {
                var that = this;
            },
            methods: {
                
                onClickLeft() {
                    api.closeWin();
                }
            }
        })
    };
</script>

</html>